import axios from '../../../utils/http'
export async function getData(currentPage, pageSize, filter) {
  const {
    data
  } = await axios.post('/term/termPageData', {
    currentPage: currentPage,
    filter: filter,
    pageSize: pageSize,

  })

  return data
}

export async function getListData() {
  const {
    data
  } = await axios.get('/term/termList')
  return data
}
